package com.york.model.vo;

import com.alibaba.excel.annotation.ExcelProperty;

import com.york.model.dto.excel.ExcelSelected;
import lombok.Data;
import lombok.ToString;

@Data
@ToString(callSuper = true)
public class DownloadExcelData {

	/** 编号 **/
    @ExcelProperty(value = "编号",index = 0)
    private String number;
    /** 名称 **/
    @ExcelSelected()
    @ExcelProperty(value = "名称",index = 1)
    private String name;
    /** 年龄 **/
    @ExcelProperty(value = "年龄",index = 2)
    private String age;
    /** 性别 **/
    @ExcelSelected(source = {"男", "女"})
    @ExcelProperty(value = "性别 ",index = 3)
    private String gender;
    /** 城市 **/
    @ExcelSelected()
    @ExcelProperty(value = "城市 ",index = 4)
    private String city;
    /** 地址 **/
    @ExcelProperty(value = "地址",index = 5)
    private String address;
    /** 描述 **/
    @ExcelProperty(value = "描述",index = 6)
    private String description;
}
